package com.cloudkinto.service.cost.importVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CostRentExportVo {
    @ApiModelProperty("客户")
    private String client;
    @Excel(name = "费用单据号")
    private String costNo;
    @Excel(name = "仓库")
    private String warehouse;
    @Excel(name = "仓租日期", exportFormat = "yyyy-MM-dd")
    private Date rentDate;

    @Excel(name = "计费状态", replace = {"未计费_1","已计费_2"})
    private Integer costStatus;
    @Excel(name = "计费时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date costTime;
    @Excel(name = "备注")
    private String tips;
    @Excel(name = "仓租费小计")
    private double totalFee;
    @Excel(name = "产品库存仓租费用")
    private double productStorageFee;
    @Excel(name = "箱库存仓租费用")
    private double boxStorageFee;

    public CostRentExportVo(String client, String costNo, String warehouse, Date rentDate, Integer costStatus, Date costTime) {
        this.client = client;
        this.costNo = costNo;
        this.warehouse = warehouse;
        this.rentDate = rentDate;
        this.costStatus = costStatus;
        this.costTime = costTime;
    }
}
